package com.edais.service;

import java.util.Map;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

@Service

public interface PushService {

	public String getMessageList(String userId,Integer current,Integer pageSize) throws Exception;
	public String getMessageDetail(String messageId) throws Exception;
	
	/**
	 * 设备注册接口
	 * @param map
	 * @return
	 * @throws Exception
	 */
	public Map addDevice(Map<String,String> map) throws Exception;
	
	/**
	 * 设备注销接口
	 * @param map
	 * @return 
	 * @throws Exception
	 */
	public Map cancelDevice(Map<String,String> map) throws Exception;
	
	//设备变更接口
	public void modifyDevice(Map<String,String> map) throws Exception;

}
